package com.boang.entity.PO;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @TableName venue
 */
@TableName(value = "venue")
@Data
public class Venue {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;

    private String type;

    private Integer capacity;

    private String status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreate;
    @TableField(value = "gmt_modified", fill = FieldFill.UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtModified;
    @TableLogic
    private Integer isDeleted;
    @TableField(exist = false)
    private int pageNum;
    @TableField(exist = false)
    private int pageSize;

}